interface RoleInfo {
    id?: number;
    roleName: string;
    updateTime?: string;
    createTime?: string;
    remark?: string | null;
}

interface RolePermission {
    roleId: number;
    permissionIdList: number[];
}

interface PermissionResult {
    id?:number,
    createTime?:string,
    updateTime?:string,
    pid:number,
    name:string,
    type:number,
    code:string,
    toCode?:string,
    status?:number | null,
    level:number,
    select?:boolean,
    children?:PermissionResult[]
}
export type { RoleInfo, RolePermission, PermissionResult };